#ifndef MAP_H
#define MAP_H

#include "opencv2/opencv.hpp"
#include <QObject>

using namespace  cv;
class Map
{
public:
    Map();
    void update(double x,double y,double heading,QVector<QPointF> senarray);
    void clear();
    Mat showmap;
private:
    Mat map;
    Mat map1;
    double scale;
    int centx;
    int centy;
};

#endif // MAP_H
